import './request'
import axios from 'axios'

export function postInfo (url, formBody) {
  return axios.post(url, formBody)
}

export function getInfo (name, conf = {}) {
  return axios({
    method: 'get',
    url: name,
    params: conf?.params
  })
}
